<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% block title %}
    <title></title>
    {% endblock %}
    <link rel="stylesheet" href="../static/css/base.css">
    {% block extcss %}
    	
    {% endblock %}
</head>
<body>
{% block head %}
    <div class="head w">
        <div class="nav w">
            <div class="logo">
                <h2><a href="/index/">职工工资管理系统</a></h2>
            </div>
            <div class="login">
                <ul>
                {% if username %}
                    <li><a href="#">{{ username }}</a></li>
                    <li><a href="/user/logout/">退出登录</a></li>
                {% else %}
                    <li><a href="/login/">登录</a></li>
                    <li><a href="/register/">注册</a></li>
                {% endif %}
                </ul>
            </div>
        </div>
    </div>
{% endblock %}

     <div class="body w">
        <div class="content">
            {% block body %}
            {% endblock %}
        </div>
    </div>



     <div class="foot w">
        <div class="footer">
            {% block foot %}
            {% endblock %}
        </div>
    </div>

</body>
</html>